package cn.datax.service.data.market.dao;

import cn.datax.common.base.BaseDao;
import cn.datax.service.data.market.cata.entity.CataResourceRelaEntity;
import cn.datax.service.data.market.cata.entity.ResourceInfoEntity;
import cn.datax.service.data.market.cata.entity.UserResourceInfoEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户资源关系
 * </p>
 *
 * @author yuwei
 * @since 2019-11-22
 */
@Mapper
public interface UserResourceInfoDao extends BaseDao<UserResourceInfoEntity> {
    IPage<UserResourceInfoEntity> pageUserApiResourceInfoByMap(IPage<UserResourceInfoEntity> page, Map map);
    IPage<UserResourceInfoEntity> pageUserTableResourceInfoByMap(IPage<UserResourceInfoEntity> page,Map map);
    IPage<UserResourceInfoEntity> pageAllUserResourceInfoByMap(IPage<UserResourceInfoEntity> page,Map map);

    List<UserResourceInfoEntity> listUserApiResourceInfoByMap(Map map);
    List<UserResourceInfoEntity> listUserTableResourceInfoByMap(Map map);
}
